package com.bite.common.security.exception;

import com.bite.common.core.enums.ResultCode;

public class ServiceException extends RuntimeException{
    public ServiceException(String message) {
        super(message);
    }

    public ServiceException(ResultCode resultCode) {
        super(resultCode.getMsg());
    }
}
